/*

Core.css for Mocha UI

Theme: Charcoal

Copyright:
	Copyright (c) 2007-2009 Greg Houston, <http://greghoustondesign.com/>.
	
License:
	MIT-style license.

Required by:
	Layout.js
 
*/

/* Layout
---------------------------------------------------------------- */

html, body {
	background: #222;
}

body {
	margin: 0; /* Required */	
}

#desktop {
	position: relative;
	min-width: 400px; /* Helps keep header content from wrapping */
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	cursor: default; /* Fix for issue in IE7. IE7 wants to use the I-bar text cursor */
}

#desktopHeader {
	background: #f1f1f1;
}

#desktopTitlebarWrapper {
	position: relative;	
	height: 45px;
	overflow: hidden;
	background: #303030 url(../images/bg-header.gif) repeat-x;
}

#desktopTitlebar {
	padding: 7px 8px 6px 8px;
	height: 32px;
	background: url(../images/logo.gif) no-repeat;
	background-position: left 0;
}

#desktopTitlebar h1.applicationTitle {
	display: none;
	margin: 0;
	padding: 0 5px 0 0;
	font-size: 20px;
	line-height: 25px;
	font-weight: bold;
	color: #eee;
}

#desktopTitlebar h2.tagline {
	padding: 7px 0 0 0;	
	font-family: Verdana, Arial, Helvetica, sans-serif;	
	font-size: 10px;    
	color: #b2b2b2;    
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;	
}

#desktopTitlebar h2.tagline .taglineEm {
	color: #eee;
	font-weight: bold;
}

#topNav {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	position: absolute;
	right: 0;
	top: 0;
	color: #b2b2b2;
	text-align: right;
	padding: 13px 10px 0 0;
}

/* Navbar */

#desktopNavbar {
	background: #404040;
	height: 30px;
	margin: 0 0px;
	overflow: hidden; /* Remove this line if you want the menu to be backward compatible with Firefox 2 */	
}

#desktopNavbar ul {	
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 12px;
}

#desktopNavbar li {
	float: left;
}

#desktopNavbar a {
	display: block;
}	
	
#desktopNavbar ul li a {
	padding: 6px 10px 6px 10px;	
	color: #eee;
	font-weight: normal;
}

#desktopNavbar ul li a:hover {
	color: #eee;
}

#desktopNavbar ul li a.arrow-right, #desktopNavbar ul li a:hover.arrow-right {
	background-image: url(../images/arrow-right.gif);
	background-repeat: no-repeat;
	background-position: right 7px;	
} 

#desktopNavbar li ul {
	padding: 2px;
	border: 1px solid #3f3f3f;
	background: #eee url(../images/bg-dropdown.gif) repeat-y;
	position: absolute;
	width: 164px;
	left: -999em;
	z-index: 8000;
}

#desktopNavbar li:hover ul ul,
#desktopNavbar li.ieHover ul ul,
#desktopNavbar li:hover ul ul ul,
#desktopNavbar li.ieHover ul ul ul {
	left: -999em;
}

#desktopNavbar li ul ul { /* third-and-above-level lists */
	margin: -22px 0 0 163px;
}

#desktopNavbar li ul li .check {
	position: absolute;
	top: 8px;
	left: 6px;
	width: 5px;
	height: 5px;
	background: #555;
	overflow: hidden;
	line-height: 1px;
	font-size: 1px;
}

#desktopNavbar li ul li a {
	position: relative;
	padding: 1px 9px 1px 25px;
	width: 130px;
	color: #3f3f3f;
	font-weight: normal;
}

#desktopNavbar li ul li a:hover {
	background: #6C98D9;
	color: #eee;
	-moz-border-radius: 2px;	
}

#desktopNavbar li ul li a:hover .check {
	background: #eee;
}

#desktopNavbar li:hover ul,
#desktopNavbar li.ieHover ul,
#desktopNavbar li li.ieHover ul,
#desktopNavbar li li li.ieHover ul,
#desktopNavbar li li:hover ul,
#desktopNavbar li li li:hover ul { /* lists nested under hovered list items */
	left: auto;
}

#desktopNavbar li:hover { /* For IE7 */
    position: static;
}

li.divider {
	margin-top: 2px;
	padding-top: 3px;	
	border-top: 1px solid #e0e0e0;
}	

#pageWrapper {
	position: relative;
	overflow: hidden; /* This can be set to hidden or auto */
	border-top: 1px solid #181818;
	border-bottom: 1px solid #181818;
}

/* Footer */

#desktopFooterWrapper {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 30px;
	overflow: hidden;
}

#desktopFooter {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	height: 24px;
	padding: 6px 8px 0 8px;
	background: #404040;
	color: #b2b2b2;
}

/* Panel Layout
---------------------------------------------------------------- */

/* Columns */

.column {
	position: relative;	
	float: left;
	overflow: hidden; /* Required by IE6 */
}

/* Panels */

.panel {
	position: relative;
	overflow: auto;
	background: #303030;
	border-bottom: 1px solid #282828;
}

.panelWrapper.collapsed .panel-header {
	border-bottom: 0;	
}	

.panelAlt {
	background: #353535;	
}	

.bottomPanel {
	border-bottom: 0;	
}	

.pad {
	padding: 8px;
}

#mainPanel {	
}	

.panel-header {
	position: relative;	
	background: #404040 url(../images/bg-panel-header.gif) repeat-x;
	height: 30px;
	overflow: hidden;
	border-bottom: 1px solid #282828;		
}

.panel-headerContent {
	padding-top: 2px;
}	

.panel-headerContent.tabs {
	background: url(../images/tabs.gif) repeat-x;
	background-position: left -68px;	
}

.panel-header h2 {
	display: inline-block;
	font-size: 12px;
	margin: 0;
	padding: 3px 8px 0 8px;
	height: 22px;
	overflow: hidden;
	color: #B3D9FF;
}

.panel-collapse {
	background: url(../images/collapse-expand.gif) left top no-repeat;
}

.panel-expand {
	background: url(../images/collapse-expand.gif) left -16px no-repeat;
}

.icon16 {
	margin: 4px 0 0 2px;
	cursor: pointer;
}

/* Column and Panel Handles */	

.horizontalHandle {
	height: 4px;
	line-height: 1px;
	font-size: 1px;
	overflow: hidden;
	background: #404040 url(../images/bg-handle-horizontal.gif) repeat-x;
}

.horizontalHandle.detached .handleIcon {
	background: transparent;	
}

.horizontalHandle .handleIcon {	
	margin: 0 auto;
	height: 4px;
	line-height: 1px;
	font-size: 1px;
	overflow: hidden;
	background: url(../images/handle-icon-horizontal.gif) center center no-repeat;
}

.columnHandle {
	min-height: 10px;	
	float: left;
	width: 4px;
	overflow: hidden;
	background: #272727 url(../images/handle-icon.gif) center center no-repeat;
	border: 1px solid #222;
	border-top: 0;
	border-bottom: 0;
}

/* Toolboxes */

.toolbox {
	float: right;
	margin-top: 3px;
	padding: 0 5px;
	height: 24px;
	overflow: hidden;
	text-align: right;
}

.panel-header-toolbox {
}

div.toolbox.divider { /* Have to specify div here for IE6's sake */
	padding-left: 8px;
	border-left: 1px solid #282828;
}

.toolbox img.disabled {
	cursor: default;
}

.iconWrapper {
	display: inline-block;
	height: 22px;
	min-width: 22px;
	overflow: hidden;
	border: 1px solid transparent;
}

* html .iconWrapper {
	padding: 1px;
	border: 0;
}

.iconWrapper img {
	cursor: pointer;
	margin: 0;
	padding: 3px;
}

.iconWrapper:hover {
	background: #404040 url(../images/bg-panel-header.gif) repeat-x;	
	border: 1px solid #181818;
	-moz-border-radius: 3px;	
}

#spinnerWrapper {
    width: 16px;
    height: 16px;
    background: url(../images/spinner-placeholder.gif) no-repeat;
    margin: 4px 5px 0 5px;
}

#spinner {
	display: none;
	background: url(../images/spinner.gif) no-repeat;
	width: 16px;
	height: 16px;
}	

